From 44b74ff4170090673b6eeacd8c528e0abf47b7aa Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 1 Dec 2025 19:52:06 +0900
Subject: (김준회) deprecated code 정리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/[lng]/sales/(sales)/system/page.tsx | 56 ---------------------------------
 1 file changed, 56 deletions(-)
 delete mode 100644 app/[lng]/sales/(sales)/system/page.tsx

(limited to 'app/[lng]/sales/(sales)/system/page.tsx')

diff --git a/app/[lng]/sales/(sales)/system/page.tsx b/app/[lng]/sales/(sales)/system/page.tsx
deleted file mode 100644
index fe0a262c..00000000
--- a/app/[lng]/sales/(sales)/system/page.tsx
+++ /dev/null
@@ -1,56 +0,0 @@
-import { Separator } from "@/components/ui/separator"
-import { type SearchParams } from "@/types/table"
-import * as React from "react"
-import { getValidFilters } from "@/lib/data-table"
-import { searchParamsCache } from "@/lib/admin-users/validations"
-import { getAllRoles, getUsersEVCP } from "@/lib/users/service"
-import { getUserCountGroupByRole } from "@/lib/admin-users/service"
-import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
-import { UserTable } from "@/lib/users/table/users-table"
-
-interface IndexPageProps {
-  searchParams: Promise<SearchParams>
-}
-
-export default async function SystemUserPage(props: IndexPageProps) {
-
-  const searchParams = await props.searchParams
-  const search = searchParamsCache.parse(searchParams)
-
-  const validFilters = getValidFilters(search.filters)
-
-  const promises = Promise.all([
-    getUsersEVCP({
-      ...search,
-      filters: validFilters,
-    }),
-    getUserCountGroupByRole(),
-    getAllRoles()
-  ])
-
-  return (
-    <React.Suspense
-      fallback={
-        <DataTableSkeleton
-          columnCount={6}
-          searchableColumnCount={1}
-          filterableColumnCount={2}
-          cellWidths={["10rem", "12rem", "12rem", "12rem"]}
-          shrinkZero
-        />
-      }
-    >
-      <div className="space-y-6">
-        <div>
-          <h3 className="text-lg font-medium">SHI Users</h3>
-          <p className="text-sm text-muted-foreground">
-            시스템 전체 사용자들을 조회하고 관리할 수 있는 페이지입니다. 사용자에게 롤을 할당하는 것으로 메뉴별 권한을 관리할 수 있습니다.
-          </p>
-        </div>
-        <Separator />
-        <UserTable promises={promises} />
-      </div>
-    </React.Suspense>
-
-  )
-}
\ No newline at end of file
-- 
cgit v1.2.3

